package com.kehutong.crm.entity;

import org.coraframework.bean.valid.CheckField;
import org.coraframework.orm.Entity;
import org.coraframework.orm.annotation.Column;
import org.coraframework.orm.annotation.Table;

/**
 * 住户跟进记录
 *
 * @Author: liuzhen (liuxing521a@163.com)
 * @Date: 20/4/13 上午9:08
 */
@Table(value = "t_track_record", comment = "跟进记录", multi = true)
public class TrackRecord extends Entity {

    private static final long serialVersionUID = -6793161992609694416L;

    protected TrackRecord(String id) {
        super(id);
    }

    @CheckField("住户编号不能为空")
    @Column(comment = "住户编号")
    private String residentNo;

    @CheckField("记录描述不能为空")
    @Column(comment = "记录描述")
    private String desc;

    @CheckField("操作人不能为空")
    @Column(comment="操作人")
    private String createBy;

    @CheckField("操作人名字不能为空")
    @Column(comment = "操作人名字")
    private String createName;

    public String getResidentNo() {
        return residentNo;
    }

    public void setResidentNo(String residentNo) {
        this.residentNo = residentNo;
    }

    @Override
    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }
}
